/*
 * Copyright (c) 2019.  鼎捷软件股份有限公司.All rights reserved.
 */

package com.digiwin.dap.middleware.entity;

import com.digiwin.dap.middleware.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * 所有带tenantSid字段
 */
@MappedSuperclass
public abstract class BaseEntityWithTenant extends BaseEntity {

    @Column(name = "TENANT_SID", nullable = false)
    private long tenantSid;

    public long getTenantSid() {
        return tenantSid;
    }

    public void setTenantSid(long tenantSid) {
        this.tenantSid = tenantSid;
    }
}
